@layout("/common/_form.html",{js:["/assets/information/information_addfile.js"],css:["/assets/common/module/formSelects/formSelects-v4.css"]}){

<form class="layui-form" id="userForm" lay-filter="userForm">
	<input name="urls" id="urls" type="hidden" class="layui-input"/> 
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">文件类型：<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                             <select name="status" lay-filter="status" id="status">
	                             <option value="图片">图片</option>
	                             <option value="音频">音频</option>
	                             <option value="视频">视频</option>
	                         </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12" id="imgid">
                    	<div class="layui-upload-drag" id="test1" style="width: 96%;">
						  <i class="layui-icon"></i>
						  <p>点击上传，或将文件拖拽到此处</p>
						  <div class="layui-hide" id="uploadDemoView1">
						  		 <img src="" style="max-width: 196px">
						  </div>
						</div>
                    </div>
                    <div class="layui-inline layui-col-md12" id="ypid" style="display: none;">
                    	<div class="layui-upload-drag" id="test2" style="width: 96%;">
						  <i class="layui-icon"></i>
						  <p>点击上传，或将文件拖拽到此处</p>
						  <div class="layui-hide" id="uploadDemoView2">
						  		<video width="420px" height="280px" controls="controls" autobuffer="autobuffer"  loop="loop" src="" style="width:200px;height:120px;"></video>
						  </div>
						</div>
                    </div>
                    <div class="layui-inline layui-col-md12" id="spid" style="display: none;">
                    	<div class="layui-upload-drag" id="test3" style="width: 96%;">
						  <i class="layui-icon"></i>
						  <p>点击上传，或将文件拖拽到此处</p>
						  <div class="layui-hide" id="uploadDemoView3">
						  		<video width="420px" height="280px" controls="controls" autobuffer="autobuffer"  loop="loop" src="" style="width:200px;height:120px;"></video>
						  </div>
						</div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                     	<label class="layui-form-label">文字内容：</label>
                        <div class="layui-input-block">
                              <textarea placeholder="请填写相关文字内容" id="content" class="layui-textarea"></textarea>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}
